package com.wanjia.seal.manager.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;


@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("SYS_MENU")
public class SysMenu implements Serializable {
    @TableId("menu_id")
    private Integer MenuId;
    @TableField("menu_name")
    private String MenuName;
    @TableField("parent_id")
    private Integer ParentId;
    @TableField("order_num")
    private Integer OrderNum;
    @TableField("path")
    private String Path;
    @TableField("component")
    private String Component;
    @TableField("query")
    private String Query;
    @TableField("is_frame")
    private Integer IsFrame;
    @TableField("is_cache")
    private Integer IsCache;
    @TableField("menu_type")
    private String MenuType;
    @TableField("visible")
    private String Visible;
    @TableField("status")
    private String Status;
    @TableField("perms")
    private String Perms;
    @TableField("icon")
    private String Icon;
    @TableField("create_by")
    private String CreateBy;
    @TableField("create_time")
    private Date CreateTime;
    @TableField("update_by")
    private String UpdateBy;
    @TableField("update_time")
    private Date UpdateTime;
    @TableField("remark")
    private String Remark;
    @TableField(exist = false)
    private Set<SysMenu> permissions;
}
